/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.nct.model;
import java.util.List;

/**
 *
 * @author haott
 */
public interface IModel {

    public List<Object> SelectAll();

    public Object SelectOne(Object id);

    public int Insert(Object obj);

    public int Update(Object id, Object obj);

    public int Delete(Object id);

    public int increase(Object obj);
    
    public int getMaxID();
    
}
